# <target name> <source device> <key file> <options>
-LOCAL_LLOCAL_LV`'_root_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_root none luks,lvm=LOCAL_LLOCAL_VG
-LOCAL_LLOCAL_LV`'_var_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_var LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
-LOCAL_LLOCAL_LV`'_home_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_home LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
-LOCAL_LLOCAL_LV`'_swap_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_swap LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
+ateliers_root_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_root none luks,lvm=ateliers.heureux-cyclage.org
+ateliers_var_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_var /.root.key luks,lvm=ateliers.heureux-cyclage.org
+ateliers_home_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_home /.root.key luks,lvm=ateliers.heureux-cyclage.org
+ateliers_swap_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_swap /.root.key luks,lvm=ateliers.heureux-cyclage.org
-Subproject commit 118d6a4c5fa48e5150c868cf1f4c790dfdab6d53
+Subproject commit e62661fa0bd9148cffb59371f66769d6a550a6f8
# Xen hypervisor console
hvc:2345:respawn:/sbin/getty 38400 hvc0
-#xvc:2345:respawn:/sbin/getty 38400 xvc0
+# Ganeti console
+S0:12345:respawn:/sbin/agetty --keep-baud 115200,38400,9600 ttyS0 vt100
#-- runit begin
SV:123456:respawn:/usr/sbin/runsvdir-start
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=\`lsb_release -i -s 2> /dev/null || echo Debian\`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
- GRUB_CMDLINE_LINUX="vt.default_utf8=1 rootfstype=ext4 loglevel=5 console=hvc0 ip=$local_ipv4::$local_gateway:$local_netmask:$vm:eth0:off resume=/dev/mapper/${vm}_swap_deciphered"
+ GRUB_CMDLINE_LINUX="vt.default_utf8=1 rootfstype=ext4 loglevel=5 console=hvc0 console=ttyS0 ip=$local_ipv4::$local_gateway:$local_netmask:$vm:eth0:off resume=/dev/mapper/${vm}_swap_deciphered"
GRUB_DISABLE_RECOVERY="true"
#GRUB_PRELOAD_MODULES="lvm"
+ GRUB_TERMINAL="console serial"
+ GRUB_SERIAL_COMMAND="serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1"
EOF
sudo install -m 644 -o root -g root /dev/stdin \
/boot/grub/device.map <<-EOF